package com.service.impl;

import com.dao.AdminDao;
import com.dao.imp.AdminDaoimpl;
import com.entity.Company;
import com.entity.User;
import com.service.AdminService;

public class AdminServiceimpl implements AdminService {
    AdminDao adminDao =new AdminDaoimpl();
    @Override
    public int AddUser(User user) {
        return adminDao.AddUser(user);
    }

    @Override
    public int AddCompany(Company company) {
        return adminDao.AddCompany(company);
    }
}
